<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <link href="../lib/bootstrap/bootstrap.min.css" rel="stylesheet">
    <link href="../lib/weui-master/dist/style/weui.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../lib/fontawesome/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../lib/SeedsUI-master/app/scripts/lib/seedsui/seedsui.min.css">
    <link rel="stylesheet" type="text/css" href="../sys/css/foot.css">
    <style>
    section {
        padding-top:3% ;
        box-sizing: border-box;
        width: 100%;
        overflow-y: auto;
        background-color: #fff;
    }
    
    .item {
        width: 96%;
        height: 90px;
        margin-left: 2%;
        margin-bottom: 3%;
        background-color: pink;
    }
    .item p{
        text-align: center;
        color: white;

    }
    .item p:nth-child(1){
        
        font-size: 17px;
        padding-top: 18px;
    }
    .item p:nth-child(2){
        font-size: 11px;
       
    }
    </style>
</head>

<body>
    <div class="box">
        <section>
            <div class="item" style="background-color: #87553C" @click="jumptoTopiclist(id)">
                <p>精品绿茶社区</p>
                <p>汇聚国内外各种高档绿茶</p>
            </div>
            <div class="item" style="background-color: #3C7387">
                <p>欧美精品红茶</p>
                <p>XXXXXXXXXXXXXXXXXXXXXXXX</p>
            </div>
            <div class="item" style="background-color: #4A3C87">
                <p>云南普洱茶社区</p>
                <p>汇聚XXXXXXXX</p>
            </div>
            <div class="item" style="background-color: #873C6B">
                <p>浙江龙井茶讨论区</p>
                <p>汇聚杭州，建德，富阳XXXXXX</p>
            </div>
            <div class="item" style="background-color: #87553C">
                <p>在线商机社区</p>
                <p>汇聚欧美，日本，东南亚XXXXX</p>
            </div>
            <div class="item" style="background-color: #71873C">
                <p>以茶会友</p>
                <p>XXXXXXXXXXXXXXX</p>
            </div>

        </section>
        <footer>
            <my-foot @choose="choosemune"></my-foot>
        </footer>
    </div>
    <script src="../lib/jquery/jquery-1.11.0.min.js"></script>
    <script src="../lib/vue/vue.js"></script>
    <script src="../sys/js/foot.js"></script>
    <script src="../data/data.json"></script>
    <script>
    $(function() {
        var windowHeight=$(window).height();
        $(".box").height(windowHeight-52);
        $("section").height(windowHeight-52-windowHeight*0.03);



        var box = new Vue({
            el: '.box',
            data: {},
            components: {
                myFoot
            },
            methods: {
                choosemune: function(i) {
                    window.location.href = menulist[i];
                },
                jumptoTopiclist:function(id){
                    window.location.href="topiclist.html";

                }

            }
        })
        $("footer ul li").removeClass("active");
        $("footer ul li:nth(3)").addClass("active");
    })
    </script>
</body>

</html>
